package com.falcon.core.codec;

import cn.hutool.crypto.SecureUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author zongf
 * @date 2025-02-18
 **/
@Slf4j
@Service
public class PasswordEncoder implements IPasswordEncoder {
    @Override
    public String encode(String password) {
        return SecureUtil.md5(password);
    }
}
